﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Example103.aspx.cs" Inherits="Chapter04.Example103" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>示例103: 在浏览器中直接输出文本文件的内容、如何实现倒计时程序</title>
    <link href="Content/bootstrap.min.css" rel="stylesheet" />
</head>
<body>    
    <form method="post" runat="server">
        <div>倒计时</div>
        <asp:ScriptManager ID="scriptManager" runat="server"></asp:ScriptManager>
        <asp:UpdatePanel ID="updatePanel" runat="server">
            <ContentTemplate>
                <br />
                <asp:Timer ID="countDown" Interval="1000" runat="server" OnTick="countDown_Tick"></asp:Timer>
                <asp:Label ID="dateTime" runat="server"></asp:Label>
            </ContentTemplate>
        </asp:UpdatePanel>
    </form>
</body>
</html>
